public class Dog implements IRunAnimal, ISwimAnimal {

    public void run() {
        System.out.println("我跑的很快");
    }

    public void swim() {
        System.out.println("我还会游泳");
    }

}